<template>
	<view class="ucenter-page">
		<u-navbar  title-size="36" height="42" :border-bottom="false"
			title="我的资料"></u-navbar>
		<view class="u-content">
			<view class="u-cells">
				<view class="u-avatar">
					<image src="../../static/images/avatar.jpg" class="img" mode=""></image>
				</view>
				<view class="u-cell" @click="openUrl('/pages/ucenter/changeContactInfo')">
					<view class="u-cell-title">手机</view>
					<view class="u-cell-val flex_bd">
						188****7645
					</view>
					<image src="../../static/images/arrow-set.png" class="arrow" mode=""></image>
				</view>
				<view class="u-cell"  @click="openUrl('/pages/ucenter/bankCardManagement')">
					<view class="u-cell-title">银行卡</view>
					<view class="u-cell-val flex_bd">
						6002 **** **** **** 798
					</view>
					<image src="../../static/images/arrow-set.png" class="arrow" mode=""></image>
				</view>
				<view class="u-cell">
					<view class="u-cell-left">
						<view class="u-cell-title">银行卡</view>
						<view class="u-cell-val">
							**龙  4306************73
						</view>
					</view>
					<image src="../../static/images/certified.png" class="certified" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {
			openUrl(e) {
				console.log(e)
				uni.navigateTo({
					url: e
				});
			},
		}
	}
</script>

<style lang="scss">
	.u-content{
		background: linear-gradient(180deg, rgba(170, 206, 57, 0.19) 0%, rgba(255, 255, 255, 0) 100%);
		padding: 144rpx 32rpx 0;
	}
	.u-cells{
		padding: 122rpx 32rpx 0;
		background-color: #fff;
		border-radius: 20rpx;
		height: 906rpx;
		.u-cell{
			   display: flex;
			   align-items: center;
			   justify-content: space-between;
			   padding: 26rpx 12rpx 26rpx 32rpx;
			   background-color: #F3F4F6;
			   border-radius: 12rpx;
			   margin-bottom: 24rpx;
			   
			   .u-cell-title{
				   font-size: 28rpx;
				   color: #383842;
			   }
			   
			   .arrow{
				   width: 48rpx;
				   height: 48rpx;
				   display: block;
			   }
			   
			   .u-cell-val{
				   font-size: 28rpx;
				   color: #606366;
				   text-align: right;
			   }
			   
			   .certified{
				   width: 120rpx;
				   height: 40rpx;
				   display: block;
				   margin-right: 16rpx;
			   }
			   
			   .u-cell-left{
				    line-height: 40rpx;
				   .u-cell-title{
					   margin-bottom: 8rpx;
				   }
			   }
		}
	}
	
	.u-avatar{
		text-align: center;
		margin-top: -206rpx;
		
		.img{
			width: 184rpx;
			height: 184rpx;
			border-radius: 50%;
			border: 8rpx solid #fff;
		}
	}
</style>
